package com.pac.questionnaire.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 问卷Bean
 * 
 * @author lujun.chen
 * @version [版本号, 2015年2月13日]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class QuestionnaireBean implements Serializable {

	private static final long serialVersionUID = -904245201075362567L;

	/**
	 * 问卷ID
	 */
	private String id;

	/**
	 * 问卷标题
	 */
	private String title;

	/**
	 * 创建人ID
	 */
	private String userId;

	/**
	 * 创建时间
	 */
	private String createDate;

	/**
	 * 问卷说明
	 */
	private String description;

	/**
	 * 问卷状态 
	 * 
	 * 1：编辑中 
	 * 
	 * 2：已发布（只有处于已发布状态的问卷才能被作答） 
	 * 
	 * 3：失效
	 */
	private String state;

	/**
	 * 系统自动回答 0：是 1：否
	 */
	private String autoAnswer;

	/**
	 * 是否定期推送 0：否 1：是
	 */
	private String autoSend;

	/**
	 * 推送周期 1：日 2：周 3：月 4：年
	 */
	private String sendCycle;
	
	/**
	 * 推送周期值
	 */
	private String sendCycleVal;

	/**
	 * 问卷问题
	 */
	private List<QuestionBean> questions;
	
	/**
	 * 【查询条件】医院ID
	 */
	private String hospitalId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public List<QuestionBean> getQuestions() {
		return questions;
	}

	public void setQuestions(List<QuestionBean> questions) {
		this.questions = questions;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getAutoAnswer() {
		return autoAnswer;
	}

	public void setAutoAnswer(String autoAnswer) {
		this.autoAnswer = autoAnswer;
	}

	public String getAutoSend() {
		return autoSend;
	}

	public void setAutoSend(String autoSend) {
		this.autoSend = autoSend;
	}

	public String getSendCycle() {
		return sendCycle;
	}

	public void setSendCycle(String sendCycle) {
		this.sendCycle = sendCycle;
	}

	public String getSendCycleVal() {
		return sendCycleVal;
	}

	public void setSendCycleVal(String sendCycleVal) {
		this.sendCycleVal = sendCycleVal;
	}

	public String getHospitalId() {
		return hospitalId;
	}

	public void setHospitalId(String hospitalId) {
		this.hospitalId = hospitalId;
	}
	
	

}
